package com.ysynzehao.bean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * niuzehao
 * 2018/11/30 17:10.
 */
@Configuration
public class BeanConfiguration {

    @Bean
    public User getUser() {
        User user = new User("admin", "admin", "admin", 100, "shenzhen");
        return user;
    }

}
